<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<base href="<%=basePath%>">
	<title>hr-m-s</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/style.css" >
</head>
<body>
<form id="input_id_to_show_detail" name="input_id_to_show_detail" method="post" action="staff!confirm">
<table width="900" border="1" cellpadding="0" cellspacing="0" align="center">
    <tr>
      <th>员工离职 - 输入员工编号后继续</th>
    </tr>
    <tr>
      <td>
      	<label>员工号：<input type="text" name="staffID" id="staffID" size="50" maxlength="50"/></label>
      	<input type="submit" name="submit" value="下一步" onclick="javascript:return checkForm();"/>
      </td>
    </tr>
</table>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div id="showMessage" align="center"><s:property value="messageTips" /></div>
</form>
<script type="text/javascript">
function checkSearchForm(){
	if ($("staffID").text == ""){
		alert("请选输入员工号！");
		$("staffID").focus();
		return false;
	}
	return true;
}
function $(value){
	return document.getElementById(value);
}
</script>
</body>
</html>
